home *** CD-ROM | disk | FTP | other *** search
/ Sierra's Sneak Peeks 1993 / Sierra Sneak Peeks 1993.iso / menu / showpic.bat < prev    next >
DOS Batch File  |  1993-08-16  |  932b  |  60 lines

  1. @echo off
  2.  
  3. rem SHOWPIC.BAT
  4.  
  5. rem Copyright (c) 1993 Sierra On-Line, Inc.  All rights Reserved
  6. rem  See documentation in DEMO.BAT file for more information.
  7.  
  8. if "%xxd%"=="" goto Alldone
  9. if "%1"   =="" goto alldone
  10. set xxa=
  11.  
  12. if "%xxv%"=="T" goto DoScreens
  13.  
  14. cls
  15. type text\%1.txt
  16. menu\getkey %2
  17. cls
  18. goto GotKey
  19.  
  20. :DoScreens
  21. menu\show screens\%1.pcx 15
  22. menu\getkey /t30 %2
  23.  
  24. :GotKey
  25. if not "%getkey%"=="TIME" goto TimeOK
  26. set xxa=T
  27. goto AllDone
  28.  
  29. :TimeOK
  30. if "%getkey%"=="ESC" goto AllDone
  31. if "%getkey%"=="X" goto AllDone
  32. if "%3"=="" goto AllDone
  33. if "%xxv%"=="T" menu\show screens\black.pcx 15
  34. if exist %xxp%%3\demo.bat goto DemoOK
  35.  
  36. mode co80
  37. echo  
  38. echo  
  39. echo  
  40. echo  
  41. echo  
  42. echo  
  43. echo That demo is currently unavailable.
  44. echo  
  45. echo  
  46. Echo "Press any key to continue. "
  47. menu\getkey /t5
  48. cls
  49. Goto AllDone
  50.  
  51. :DemoOK
  52. cd %xxp%%3
  53. mode co80
  54. call demo
  55. mode co80
  56. %xxd%:
  57. cd %xxc%
  58.  
  59. :AllDone
  60.